<?php
    include"conn.php";
    //第三步执行SQL
    $sql="select * from notes";   
    //"select * from tb_users order by id desc"  排序
    //"select * from tb_users where name='张三"  精确查找
    //"select * from tb_users where name like '王%" 模糊查找
    $result=$mylink->query($sql);
    //第四步处理结果集
    $allrow=$result->fetch_all(MYSQLI_BOTH);//读出所有的行,
    include "index_html.php";    

